//
//  TCCalendarTimeModel.h
//  TCCalendarSelector
//
//  Created by 叮叮 on 2021/5/8.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TCCalendarDateModel : NSObject
/// 年份字符串
@property (nonatomic, copy, nullable) NSString *yearString;
/// 月份字符串
@property (nonatomic, copy, nullable) NSString *monthString;
/// 天字符串
@property (nonatomic, copy, nullable) NSString *dayString;
/// 星期字符串
@property (nonatomic, copy, nullable) NSString *weekString;
/// 年份
@property (nonatomic, assign) NSInteger year;
/// 月份
@property (nonatomic, assign) NSInteger month;
/// 天
@property (nonatomic, assign) NSInteger day;
/// 星期
@property (nonatomic, assign) NSInteger week;
/// 日期数组，比天大的单位下存在
@property (nonatomic, copy, nullable) NSArray<TCCalendarDateModel *> *dates;
/// 是否是今天
@property (nonatomic, assign) BOOL isToday;
/// 是否被选中
@property (nonatomic, assign) BOOL isSelected;
/// 是否是第一天
@property (nonatomic, assign) BOOL isFirstDay;
/// 是否是最后一天
@property (nonatomic, assign) BOOL isLastDay;
@end

NS_ASSUME_NONNULL_END
